namespace Widgetsphere.Core.DataAccess 
{
	/// <remarks/>

	[System.ComponentModel.DesignerCategoryAttribute("code")]
	[System.Web.Services.WebServiceBindingAttribute(Name="DataAccessServiceSoap", Namespace="http://tempuri.org/")]
	public partial class DataAccessService : System.Web.Services.Protocols.SoapHttpClientProtocol 
	{
				
		/// <remarks/>
		public DataAccessService() 
		{
			this.Url = "http://localhost/WebServices/DataAccess.asmx";
		}
				
		/// <remarks/>
		[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Persist", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
		public SubDomainWrapper Persist(SubDomainWrapper sd) 
		{
			var results = this.Invoke("Persist", new object[] {
																															 sd});
			return ((SubDomainWrapper)(results[0]));
		}
				
		/// <remarks/>
		public System.IAsyncResult BeginPersist(SubDomainWrapper sd, System.AsyncCallback callback, object asyncState) 
		{
			return this.BeginInvoke("Persist", new object[] {
																												sd}, callback, asyncState);
		}
				
		/// <remarks/>
		public SubDomainWrapper EndPersist(System.IAsyncResult asyncResult) 
		{
			var results = this.EndInvoke(asyncResult);
			return ((SubDomainWrapper)(results[0]));
		}
				
		/// <remarks/>
		[System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/Retrieve", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
		public SubDomainWrapper Retrieve(SubDomainWrapper sd) 
		{
			var results = this.Invoke("Retrieve", new object[] {
																																sd});
			return ((SubDomainWrapper)(results[0]));
		}
				
		/// <remarks/>
		public System.IAsyncResult BeginRetrieve(SubDomainWrapper sd, System.AsyncCallback callback, object asyncState) 
		{
			return this.BeginInvoke("Retrieve", new object[] {
																												 sd}, callback, asyncState);
		}
				
		/// <remarks/>
		public SubDomainWrapper EndRetrieve(System.IAsyncResult asyncResult) 
		{
			var results = this.EndInvoke(asyncResult);
			return ((SubDomainWrapper)(results[0]));
		}
	}
		
}
